<include file="public@header" />
</head>
<body>
	<div class="wrap">
		
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('TemplateGroup/toEditCategory')}">
			<input type="hidden" name="id" value="{$data.category_id}">
			<input type="hidden" name="parent_id" value="{$data.parent.category_id}">
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">主题活动名称<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-6">
					<input type="text" class="form-control" required  name="parent_name" value="{$data.parent.name}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-name" class="col-sm-2 control-label">模板类别名称<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-6">
					<input type="text" class="form-control" required  name="name" value="{$data.name}">
				</div>
			</div>
			<div class="form-group button-a">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/frontend.js"></script>
</body>
</html>